<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
	 	<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">提成日期:</label>
        <div class="col-xs-12 col-sm-8">
			<div class="form-inline" data-toggle="cxselect" data-selects="year,date">
				<select id="c-year" data-rule="required" class="year form-control selectpicker" name="row[year]" data-url="ajax/year?num=10">
				<option value="{$DefaultsDate}" selected>{$DefaultsDate}年</option></select>
				<select id="c-date" data-rule="required"  class="date form-control selectpicker"   name="row[date]" data-url="ajax/year" data-query-name="year"></select> 
			</div>
			<input type="hidden" id="DefaultsTime" value="{$DefaultsTime}">
        </div>
    </div>
	 <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">通知类型:</label>
		<div class="col-xs-12 col-sm-8">
			   <!-- {:build_radios('row[send_type]', [1=>'全部人员',2=>'指定部门',3=>'指定人员'],1 )} -->
			  {:build_radios('row[send_type]', [1=>'全部人员',3=>'指定人员'],1 )} 
		</div>
   
    </div>
     <div class="display_id2 " style="display:none;">
			  <div class="form-group">
		        <label class="control-label col-xs-12 col-sm-2">指定部门:</label>
		        <div class="col-xs-12 col-sm-8">
		           {:build_select('row[department]', $groupdata, [1], ['class'=>'form-control selectpicker'])}
		        </div>
		    </div>
  	</div> 
	 <div class="display_id3 " style="display:none;">
		<div class="form-group">
	        <label class="control-label col-xs-12 col-sm-2">指定人员:</label>
	        <div class="col-xs-12 col-sm-8">
				 <input id="c-userid"  data-source="/api/base/user" data-primary-key="userid" data-field="username"  data-params='{"custom[id]":"1"}'  class="form-control selectpage" name="row[userid]" type="text" value="">
	        </div>
	    </div>
	</div>
 	<div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">发送</button>
        </div>
    </div>
</form>
